package com.mt.roll.wms.params;

import com.mt.roll.core.validator.groups.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2022/3/16 10:44
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "库位工序货架查询参数类", description = "库位工序货架查询参数信息")
public class LocationShelfProcessQueryParam {
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "工序id", example = "1")
    @NotNull(message = "工序id", groups = {UpdateGroup.class})
    private Long processId;

    @ApiModelProperty(value = "货架id", example = "1")
    @NotNull(message = "货架id", groups = {UpdateGroup.class})
    private Long shelfId;
}
